mitk_create_module(
  INCLUDE_DIRS
    Qmitk
    SegmentationUtilities
  PCH
    mitkDataNode.h
    QmitkSegWithPreviewToolGUIBase.h
  DEPENDS
    MitkFormsUI
    MitkQtWidgetsExt
    MitkSceneSerialization
    MitkSegmentation
  TARGET_DEPENDS
    PRIVATE
      Qt6::Concurrent
      nlohmann_json::nlohmann_json
  PACKAGE_DEPENDS
    PRIVATE
      CTK|CTKWidgets
)

if(BUILD_TESTING)
  add_subdirectory(test)
endif()
